import Layout from '@/pages/public/layout' // 公共部分

const share = [{
  path: '/system/config',
  component: Layout,
  children: [
    {
      path: 'login',
      component: () => import('@/pages/system/config/login.vue'),
      meta: {
        title: '配置中心-登录配置',
        permission: 'system.config.login'
      }
    },
    {
      path: 'oneclick',
      component: () => import('@/pages/system/config/oneclick.vue'),
      meta: {
        title: '配置中心-一键登录配置',
        permission: 'system.config.oneclick'
      }
    },
    {
      path: 'miniapp',
      component: () => import('@/pages/system/config/miniapp.vue'),
      meta: {
        title: '配置中心-小程序配置',
        permission: 'system.config.miniapp'
      }
    },
    {
      path: 'official',
      component: () => import('@/pages/system/config/official.vue'),
      meta: {
        title: '配置中心-公众号配置',
        permission: 'system.config.official'
      }
    }, {
    path: 'share',
    component: () => import('@/pages/system/config/share.vue'),
    meta: {
      title: '配置中心-分享配置',
      permission: 'system.config.share'
    }
  }, {
      path: 'category',
      component: () => import('@/pages/system/config/category.vue'),
      meta: {
        title: '配置中心-分类配置',
        permission: 'system.config.category'
      }
    }, {
      path: 'onhook',
      component: () => import('@/pages/system/config/onhook.vue'),
      meta: {
        title: '配置中心-防挂机配置',
        permission: 'system.config.onhook'
      }
    }, {
      path: 'face',
      component: () => import('@/pages/system/face.vue'),
      meta: {
        title: '人脸识别',
        permission: 'system.config.face'
      }
    }]
}]

export default share
